home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
bbs
/
jukemb10.zip
/
JBPLAY.NRX
< prev
next >
Wrap
Text File
|
1997-05-23
|
462b
|
30 lines
import RXFile
class jbplay extends Thread
rtime = Runtime
pr2 = Process
mt = MainThread
rxLog = RXFile()
toPlay = Rexx
method jbplay(maint = MainThread)
mt = maint
method PlayIt(rSong = Rexx)
toPlay = rSong
method run()
i = int 0
do
rtime = Runtime.getRuntime()
pr2 = rtime.exec(toPlay)
mt.setProcess(pr2)
pr2.waitFor()
catch InterruptedException
catch IOException
catch NullPointerException
end
mt.sendNext()